# DarkDungeon colorscheme for tmux

black="#0d0d0d"
red="#a30e0e"
green="#1e7e1e"
yellow="#767600"
blue="#2f7c8f"
magenta="#c671c4"
cyan="#006262"
white="#bebebe"

brblack="#111111"
brred="#890000"
brgreen="#348a34"
bryellow="#838319"
brblue="#43899a"
brmagenta="#7a7fc9"
brcyan="#007c7c"
brwhite="#c4c4c4"

set -g status "on"
set -g status-position "top"
set -g status-justify "left"
set -g status-bg $black
set -g status-fg $white

set -g status-right-length 60
set -g status-left-length 60

set -g pane-border-style "fg=$green, bg=$black"
# set -g pane-border-style "fg=$green, bg=$black"
set -g default-terminal "xterm-256color"
set -g base-index 1
setw -g pane-base-index 1


# modules

module_left_1="#S"
module_left_1_color="#[fg=$white bg=$brblack]"
module_left_1_color_end="#[fg=$yellow bg=$black]"


module_right_begin="#[fg=$brgreen bg=$black]"
module_right_1="#(echo $(termux-battery-status | jq '.percentage'))%%"
module_right_1_color="#[fg=$black, bg=$brgreen]"
module_right_1_color_end="#[fg=$blue,bg=$brgreen]"


module_right_2="#H"
module_right_2_color="#[fg=$white,bg=$cyan]"


window_tab_color="#[fg=$white,bg=$brblack]"

window_current_tab_color="#[fg=$black,bg=$brgreen]"

window_tab="$window_tab_color #I #W"

window_current_tab="$window_current_tab_color #W "

left_side="$module_left_1_color $module_left_1 $module_left_1_color_end"

right_side="$module_right_begin$module_right_1_color $module_right_1 $module_right_1_color_end$module_right_2_color $module_right_2 #{prefix_highlight}"


set -g status-left $left_side
set -g status-right $right_side

setw -g window-status-format $window_tab
setw -g window-status-current-format $window_current_tab
